package com.anysoft.bean;

import java.io.Serializable;

/**
 * @ProjectName：gy_fund-android
 * @ClassDescription：卡BIN信息
 * @CreateUser： yanbin
 * @CreateTime：2017-03-21 10:11
 * @ModifiedUser：
 * @ModifiedTime：
 * @ModifiedRemark：
 */

public class SmartCardBinByBankAccountNoBean implements Serializable {

    String errorCode;
    String errorMessage;
    String sessionKey;
    private String extension;//消息扩展
    private DataBean data;

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        private CardBin cardBin;
        private SupportBankMap supportBankMap;

        public CardBin getCardBin() {
            return cardBin;
        }

        public void setCardBin(CardBin cardBin) {
            this.cardBin = cardBin;
        }

        public SupportBankMap getSupportBankMap() {
            return supportBankMap;
        }

        public void setSupportBankMap(SupportBankMap supportBankMap) {
            this.supportBankMap = supportBankMap;
        }

        public static class CardBin {
            private String bankName;//发卡行名称及机构代码
            private String cardName;//卡名
            private String atm;//是否适用ATM
            private String pos;//是否适用POS
            private String track;//磁道信息：磁道
            private String trackBeginByte;//磁道信息：起始字节
            private String trackSize;//磁道信息：长度
            private String masterBeginByte;//主账号：起始字节
            private String masterSize;//主账号：长度
            private String masterReadTrack;//主账号：读取磁道
            private String bankMarkBeginType;//发卡行标识：起始字节
            private String bankMarkSize;//发卡行标识：长度
            private String bankMarkValue;//发卡行标识：取值
            private String bankMarkReadTrack;//发卡行标识：读取磁道
            private String cardType;//卡种
            private String currentChange;//本期增减
            private String masterNo;//主账号
            private String bankNo;//银行编码
            private String id;//
            private String classType;//1：一类2：二类3：三类

            public String getBankName() {
                return bankName;
            }

            public void setBankName(String bankName) {
                this.bankName = bankName;
            }

            public String getCardName() {
                return cardName;
            }

            public void setCardName(String cardName) {
                this.cardName = cardName;
            }

            public String getAtm() {
                return atm;
            }

            public void setAtm(String atm) {
                this.atm = atm;
            }

            public String getPos() {
                return pos;
            }

            public void setPos(String pos) {
                this.pos = pos;
            }

            public String getTrack() {
                return track;
            }

            public void setTrack(String track) {
                this.track = track;
            }

            public String getTrackBeginByte() {
                return trackBeginByte;
            }

            public void setTrackBeginByte(String trackBeginByte) {
                this.trackBeginByte = trackBeginByte;
            }

            public String getTrackSize() {
                return trackSize;
            }

            public void setTrackSize(String trackSize) {
                this.trackSize = trackSize;
            }

            public String getMasterBeginByte() {
                return masterBeginByte;
            }

            public void setMasterBeginByte(String masterBeginByte) {
                this.masterBeginByte = masterBeginByte;
            }

            public String getMasterSize() {
                return masterSize;
            }

            public void setMasterSize(String masterSize) {
                this.masterSize = masterSize;
            }

            public String getMasterReadTrack() {
                return masterReadTrack;
            }

            public void setMasterReadTrack(String masterReadTrack) {
                this.masterReadTrack = masterReadTrack;
            }

            public String getBankMarkBeginType() {
                return bankMarkBeginType;
            }

            public void setBankMarkBeginType(String bankMarkBeginType) {
                this.bankMarkBeginType = bankMarkBeginType;
            }

            public String getBankMarkSize() {
                return bankMarkSize;
            }

            public void setBankMarkSize(String bankMarkSize) {
                this.bankMarkSize = bankMarkSize;
            }

            public String getBankMarkValue() {
                return bankMarkValue;
            }

            public void setBankMarkValue(String bankMarkValue) {
                this.bankMarkValue = bankMarkValue;
            }

            public String getBankMarkReadTrack() {
                return bankMarkReadTrack;
            }

            public void setBankMarkReadTrack(String bankMarkReadTrack) {
                this.bankMarkReadTrack = bankMarkReadTrack;
            }

            public String getCardType() {
                return cardType;
            }

            public void setCardType(String cardType) {
                this.cardType = cardType;
            }

            public String getCurrentChange() {
                return currentChange;
            }

            public void setCurrentChange(String currentChange) {
                this.currentChange = currentChange;
            }

            public String getMasterNo() {
                return masterNo;
            }

            public void setMasterNo(String masterNo) {
                this.masterNo = masterNo;
            }

            public String getBankNo() {
                return bankNo;
            }

            public void setBankNo(String bankNo) {
                this.bankNo = bankNo;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getClassType() {
                return classType;
            }

            public void setClassType(String classType) {
                this.classType = classType;
            }
        }
        public static class SupportBankMap {
            private String trustChannelId;//支持开卡银行渠道
            private String capitalMode;//支持开卡银行资金通道ID
            private String bankName;//支持开卡银行名称
            private String bankCode;//支持开卡银行编号

            public String getTrustChannelId() {
                return trustChannelId;
            }

            public void setTrustChannelId(String trustChannelId) {
                this.trustChannelId = trustChannelId;
            }

            public String getCapitalMode() {
                return capitalMode;
            }

            public void setCapitalMode(String capitalMode) {
                this.capitalMode = capitalMode;
            }

            public String getBankName() {
                return bankName;
            }

            public void setBankName(String bankName) {
                this.bankName = bankName;
            }

            public String getBankCode() {
                return bankCode;
            }

            public void setBankCode(String bankCode) {
                this.bankCode = bankCode;
            }
        }
    }
}
